/* 
    Document   : admin-style
    Created on : Oct 9, 2011, 5:49:41 PM
    Author     : ihungtd
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

* {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

input[type=text], select {
    padding: 3px 2px;
}

#MainWeb {
    height: auto;
    min-height: 100%;
}

#MainHeader {
    height: 56px;
    padding: 0px 30px;
    background: url('../images/admin/header.png') repeat-x;
    min-width: 900px;
}

#MainHeader .site-logo {
    color: white;
    padding: 18px 0px 0px 0px;
    float: left;
}

#MainHeader .user-login {    
    font-size: 12px;
    color: white;
    text-align: right;
    padding: 14px 0px 0px 0px;
    float: right;
}

#MainHeader .user-login a { color: #FFFFFF; text-decoration: none; font-weight: 700; }

#MainMenu {
    background: url('../images/admin/menu.png') repeat-x;
    position: relative;
    z-index: 1;
    height: 34px;
    clear: both;
    padding: 0px 30px;
    min-width: 900px;
}

#MainMenu ul.nav {
    position: relative;
    margin: 0;
    padding: 0;
}

#MainMenu ul.nav li {
    float: left;
    list-style: none;    
} 

#MainMenu ul.nav li a {
    display: block;    
    text-decoration: none;    
    padding: 10px 15px 9px 17px;        
    color: white;
    text-align: center;
}

#MainContent {
    background: white url('../images/admin/background.png') 0px 1px repeat-x;
    padding: 10px 30px 0px 30px;
    min-width: 900px;
    padding-bottom: 128px;
}

.boxContent {
    margin-bottom: 15px;
}

.boxContent > .heading {
    height: 40px;
    background: url('../images/admin/box_center.png') repeat-x;
    margin-bottom: 0px;
}

.boxContent > .heading h1 {
    background-position:  2px 9px;
    background-repeat: no-repeat;
    margin: 0px;
    padding: 11px 0px 11px 30px;
    color: #003A88;
    font-size: 16px;
    float: left;
}

.boxContent > .heading .buttons {
    float: right;
    padding-top: 8px;
}

.boxContent > .left {
    float: left;
    width: 7px;
    height: 40px;
    background: url('../images/admin/box_left.png') no-repeat;
}

.boxContent > .right {
    float: right;
    width: 7px;
    height: 40px;
    background: url('../images/admin/box_right.png') no-repeat;
}

.boxContent > .content {
    padding: 10px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    min-height: 300px;
}

.button {
    padding-left: 8px;
    display: inline-block;
    margin-right: 5px;
    background: url('../images/admin/button_left.png') top left no-repeat;
}

.button span {
    color: white;
    display: block;
    padding: 5px 10px 5px 2px;
    background: url('../images/admin/button_right.png') top right no-repeat;
}

#MainFooter {
    background: white url('../images/admin/footer.png') repeat-x;
    height: 90px;
    padding-top: 38px;
    text-align: center;
    font-size: 12px;
    color: #333;
    position: relative;
    margin-top: -128px;
    clear: both;
}

table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

table.form tr td:first-child {
    width: 200px;
}

.form {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.form > * > * > td {
    padding: 10px;
    color: black;
    border-bottom: 1px dotted #CCC;
}

.required {
    color: red;
    font-weight: bold;
}

.line { padding: 5px 0; border-bottom: 1px solid #EEEEEE; }

.list {
    border-collapse: collapse;
    width: 100%;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
    margin-bottom: 20px;
}

.list td {
    border-bottom: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
}

.list thead td {
    background-color: #EFEFEF;
    padding: 0px 5px;
}

.list thead td a, .list thead td {
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.list tbody tr:nth-child(even) {
    background: #E4EEF7;
}

.list tbody tr:nth-child(odd) {
    background: white;
}

.list tbody td.head {
    font-weight: 700;
    color: #222;
}

.list .filter td {
    padding: 5px;
    background: #E7EFEF;
}

.list .left {
    padding: 7px;
    text-align: left;
}

.list .right {
    padding: 7px;
    text-align: right;
}

.list .center {
    padding: 7px;
    text-align: center;
}

.list .action {
    padding: 2px 5px;
}

.warning_message p {
    border: 1px solid #FF0000;
    padding: 5px;
    margin-bottom: 2px;
    background-color: #FBE6F2;
    color: #FF0000;
    font-size: 13px;
    font-weight: 700;
}

.error p {
    color: #000;        
    background-color: #E68F8F;
}

.radio-button {
    display: inline-block;
    float: left;    
}

.p-right { padding-right: 12px; }

.flash_message {
    border: 1px solid #FF0000;
    padding: 10px 10px 10px 60px;
    margin: 5px auto;    
    font-size: 13px;
    font-weight: 700;
}

.ferror {
    background-color: #E68F8F;
    color: #000;
}

.fwarning {
    background-color: #FBE6F2;
    color: #000;
}

.fsuccess {
    background-color: #90BF35;
    color: #000;
}

table.filter {
    width: 100%;
    background: #E7EFEF;
    border: 1px solid #C6D7D7;
    margin-bottom: 15px;
}

table.filter td {
    padding: 5px;
}